import request from '@/utils/request'
//获取列表
export function getList(data,page) { 
    return request({
        url: '/purchase_gift_order_query/purchase_gift_order_query_list/'+(page?page:1),
        method: 'post',
        data: data  
    })
} 
//获取页码
export function getPage(data) { 
    return request({
        url: '/purchase_gift_order_query/purchase_gift_order_query_page',
        method: 'post',
        data: data  
    })
} 
//获取门店
export function getStore(data) {
    return request({
        url: '/General/get_store',
        method: 'post',
        data: data
    })
}
//type 1 采购流程明细  2 发货流程明细
export function getFlow(data,type) {
    return request({
        url: type==1?'/General/get_review_flow_path':'/General/get_deliver_flow_path',
        method: 'post',
        data: data
    })
}
